<?php
namespace app\api\model;

use think\Model;

class ProductImage extends Base
{
    protected $table = 'product_image';
    protected $autoWriteTimestamp = 'datetime';

    public function getOneUrlAttr($value){

        return config('setting.img_prefix').$value;
    }

    public function getTwoUrlAttr($value){

        return config('setting.img_prefix').$value;
    }


    public function getThreeUrlAttr($value){

        return config('setting.img_prefix').$value;
    }


    public function getFourUrlAttr($value){

        return config('setting.img_prefix').$value;
    }


    public function getFiveUrlAttr($value){

        return config('setting.img_prefix').$value;
    }


}